package org.blogwu.learn.threadLearn.class15;

public class MyTestThread extends Thread {

    public static int i = 0;

    @Override
    public void run() {
        super.run();
        synchronized (this) {
            if (i == 0) {
                // todo
            } else {
                // todo
            }
        }

    }
}
